package com.sunrain.mapper;

import java.util.List;

import com.sunrain.model.Area;

public interface AreaMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Area record);

    int insertSelective(Area record);

    Area selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Area record);

    int updateByPrimaryKey(Area record);
    
    void clearAll();
    
    Area queryByNAME(String name);
    
    List<Area> queryAll();
}